import { createApp } from 'vue'
import App from './App.vue'
import router from "@/router";
import vxeTable from "@/vxe-table"
import { setupStore } from "@/store";
import Particles from 'particles.vue3'

import "@/permission.js"

// 样式
import "element-plus/theme-chalk/dark/css-vars.css";
import "@/styles/index.scss";

// 本地SVG图标
import "virtual:svg-icons-register";

// json编辑器
import "jsoneditor"

const app = createApp(App);
// 全局注册 状态管理(store)
setupStore(app);
// 国际化
import i18n from "@/lang/index";

app.use(router)
	.use(i18n)
	.use(vxeTable)
	.use(Particles)
	.mount("#app");
